package com.ruoyi.personal_owned.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户拥有礼物对象 personal_owned_gift
 * 
 * @author ruoyi
 * @date 2023-04-08
 */
public class PersonalOwnedGift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户id */
    private Integer userId;

    /** 礼物名称 */
    @Excel(name = "礼物名称")
    private String giftName;

    /** 礼物数量 */
    @Excel(name = "礼物数量")
    private Integer giftCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }
    public void setGiftCount(Integer giftCount) 
    {
        this.giftCount = giftCount;
    }

    public Integer getGiftCount() 
    {
        return giftCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("giftName", getGiftName())
            .append("giftCount", getGiftCount())
            .toString();
    }
}
